<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数据可视化-ECharts</title>
    <link rel="stylesheet" href="./css/index.css">
    
</head>
<body>
    <header class="head">
        <h1>数据可视化(ECharts)</h1>
        <div class="now_time"></div>
    </header>
    <section class="mainbox ">
        <div class="column">
            <div class="panel bar_industry">
                <h3>柱状图-就业行业</h3>
                <div class="chart"></div>
                <div class="panel_footer">
                </div>
            </div>
            <div class="panel line_staff">
                <h3 class="title">
                    折线图-人员变化
                    <a href="javascript:;">2019</a>
                    <a href="javascript:;">2020</a>
                </h3>
                <div class="chart"></div>
                <div class="panel_footer">
                </div>
            </div>
            <div class="panel pie_age">
                <h3>饼形图-年龄分布</h3>
                <div class="chart"></div>
                <div class="panel_footer">
                </div>
            </div>
        </div>
        <div class="column">
            <div class="number">
                <ul class="num_hd">
                    <li>125811</li>
                    <li>125811</li>
                </ul>
                <div class="num_bd">
                    <span>前端需求人数</span>
                    <span>市场供应人数</span>
                </div>
            </div>
            <div class="map">
                <div class="map1"></div>
                <div class="map2"></div>
                <div class="map3"></div>
                <div class="chart"></div>
            </div>
        </div>
        <div class="column">
            <div class="panel bar_skill">
                <h3>柱状图-技能掌握</h3>
                <div class="chart"></div>
                <div class="panel_footer">
                </div>
            </div>
            <div class="panel line_flow">
                <h3>折线图-流动量</h3>
                <div class="chart"></div>
                <div class="panel_footer">
                </div>
            </div>
            <div class="panel pie_area">
                <h3>饼形图-区域分布</h3>
                <div class="chart"></div>
                <div class="panel_footer">
                </div>
            </div>
        </div>
    </section>
    <script src="./js/flexible.js"></script>
    <script src="./js/echarts.min.js"></script>
    <script src="./js/china.js"></script>
    <script src="./js/index.js"></script>
    <script>
        // 获取当前时间
        let timer = null;
        timer = setTimeout(time,1000);
        function time(){
            clearTimeout(timer);
            let now = new Date();
            let y = now.getFullYear(),
                m = now.getMonth() + 1,
                d = now.getDate(),
                h = now.getHours(),
                minutes = now.getMinutes(),
                s = now.getSeconds();
            document.querySelector(".now_time").innerHTML = '当前时间: '+ y +'年'+ m +'月'+ d +'日 '+ h +'时'+  minutes +'分'+ s +'秒';
            timer = setTimeout(time,1000);
        }
        
    </script>
    
</body>
</html>